#pragma once

#include <YSimpleSystem/Interface.h>

namespace ysimple_system
{
	struct IThreadCallback
	{
		virtual void running() = 0;
	};
	struct IThread
		: public Interface
	{
		virtual bool	init(IThreadCallback& callback) = 0;
		virtual void	start() = 0;
		virtual void	join() = 0;
		virtual HANDLE		getHandle() = 0;
	};
}